async def sender_request_room_message(ws,**kwargs):
    if ws:
        await  ws.send_json(
            {
                'type':'render_request_room',
                'data':{}
              }
        )
async  def sender_render_notice(ws,**kwargs):
    if ws:
        await ws.send_json({
            'type':'render_notice',
            'data':{}
        })
async def sender_render_friends(ws,**kwargs):
    if ws:
        await ws.send_json({
            'type':'render_friends',
            'data':{}
        })
async def sender_render_groups(ws,**kwargs):
    if ws:
        await ws.send_json({
            'type':'render_groups',
            'data':{}
        })

# 此处函数均采用预留不采用动态方便拓展
ONLINE_SENDER={
    'request_message':sender_request_room_message,
    'render_notice':sender_render_notice,
    'render_friends_list':sender_render_friends,
    'render_groups_list':sender_render_groups
}